package top.jandmla.excel.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@TableName(value = "tb_role")
public class Role {

    @TableId(type = IdType.UUID)
    private String id;

    private String roleName;
    

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public void setName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }
}